package com.eshin.rmi;

public class HelloServiceImpl implements HelloService {

	@Override
	public String doHello(String name) {
		return "Hello , " + name+" ,i am hession";  
	}

	@Override
	public String doHelloById() {
		return "hello ,"+" i am hession by id";
	}

	
	/**
	 * 服务端有方法重载时，需要在客户端xml中配置
	 * <!-- 允许服务端接口有方法重载 -->
	    <property name="overloadEnabled" value="true"/> 
	 */
	@Override
	public String doHello() {
		// TODO Auto-generated method stub
		return "hello ,"+" i am hession without name";
	}

}
